require 'rubygems'
require 'bundler'
Bundler.setup
 

ENV['RAILS_ENV'] = 'test'
require "rails_app/config/environment"
require "rails/test_help"
require 'i18n_toolbox'

#  
# # require 'test/unit'
# require "rails_app/config/environment"
# 
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)
ActiveRecord::Migrator.migrate(File.expand_path("../rails_app/db/migrate/", __FILE__))


class ActiveSupport::TestCase
  self.use_transactional_fixtures = true
  self.use_instantiated_fixtures = false
end